<template>
  <el-breadcrumb separator=">">
    <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item>{{ secondTitle }}</el-breadcrumb-item>
    <el-breadcrumb-item>{{ ThirdTitle }}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
  // 面包屑的组件
  name: 'crumbs',
  props: {
    secondTitle: {
      type: String,
      required: true
    },
    ThirdTitle: {
      type: String,
      required: true
    }
  }
}
</script>
<style lang="less"></style>
